package OOP.Homeworks.Homework03;

public class Teacher {
    private String name;
    private int age;
    private String post;
    private double salary;
    private double Grade;

    public Teacher(String name, int age, String post, double salary , double Grade) {
        this.name = name;
        this.age = age;
        this.post = post;
        this.salary = salary;
        this.Grade = Grade;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public void setGrade(double grade) {
        Grade = grade;
    }

    public String getName() {
        return name;
    }

    public int getAge() {
        return age;
    }

    public String getPost() {
        return post;
    }

    public double getSalary() {
        return salary;
    }

    public double getGrade() {
        return Grade;
    }

    public void introduce(){
        System.out.println("Teacher\t\t\t\t\t\t\tName: " + name + ", Age: " + age + ", Post: " + post + ", Salary: " + Grade * salary);
    }
}
